package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 金帮嘉诚 @date 2021-08-14 星期六 10:18
 */
@TableName("user")
@Data
@Accessors(chain = true)
public class User extends BasePojo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    @TableField(value = "phone")
    private String tel;
    private String email;
    private Boolean status;
//    @TableField(exist = false)
//    private Role role;

}
